package com.jie.educenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author XieZhiJie
 * @create 2020-10-15 22:07
 */
@EnableDiscoveryClient  // 服务注册
@MapperScan("com.jie.educenter.mapper")
@ComponentScan({"com.jie"})
@SpringBootApplication
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class, args);
    }
}
